package com.yunxin.core.application.dto.channel;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zero°
 * @since 2023-12-16
 */
@Data
public class ChannelAdvanceChargePageDTO {

    /**
     * 渠道id
     */
    @Schema(description = "渠道id")
    private Long channelId;

    /**
     * 渠道名称
     */
    @Schema(description = "渠道名称")
    private String channelName;
    /**
     * 渠道类型名称
     */
    @Schema(description = "渠道类型名称")
    private String channelTypeName;

    /**
     * 结算数量
     */
    @Schema(description = "结算数量")
    private Integer settlementNumber;

    /**
     * 结算金额
     */
    @Schema(description = "结算金额")
    private BigDecimal settlementAmount;

    /**
     * 预付款金额
     */
    @Schema(description = "预付款金额")
    private BigDecimal advanceChargeAmount;

    /**
     * 已消耗金额
     */
    @Schema(description = "已消耗金额")
    private BigDecimal consumedAmount;

    /**
     * 剩余预付款金额
     */
    @Schema(description = "剩余预付款金额")
    private BigDecimal residueAdvanceChargeAmount;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;
}
